#include <LdPcl.h>
#include <opencv2/highgui.hpp>

int main()
{
    char saved_path[100];
    int i = 100;
    while (true)
    {
        std::cout << i << std::endl;
        pcl::visualization::CloudViewer viewer("viewer");
        int key = 0;
        std::sprintf(saved_path, "/home/milo/Pictures/pcd/4.26/ronghe%d.pcd", i);
        PcloudI origin(new CloudI());
        pcl::io::loadPCDFile(saved_path, *origin);
        viewer.showCloud(origin);
        while (!viewer.wasStopped())
        {
        }
        i++;
        
    }
}